package com.yuan.property;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Data
@Component("jdbcProperties")
@ConfigurationProperties(prefix = "jdbc")
public class JdbcProperties {


    private String driverClassName;

    private String url;

    private String username;

    private String password;


}
